@extends('admin.main')
@section('content')

    <div id="dcMain">
        <!-- 当前位置 -->
        <div id="urHere">管理中心<b>></b><strong>用户管理</strong> </div>   <div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
            <h3>用户列表</h3>
            <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
                <tr>
                    <th width="30" align="center">ID</th>
                    <th width="50" align="center">微信ID</th>
                    <th width="30" align="center">姓名</th>
                    <th width="30" align="center">性别</th>
                    <th width="50" align="center">手机</th>
                    <th width="50" align="center">邮箱</th>
                    <th width="50" align="center">生日</th>
                    <th width="50" align="center">生成时间</th>
                    <th width="50" align="center">关注时间</th>
                    <th width="50" align="center">取消关注时间</th>
                </tr>
                @foreach($data as $item)
                <tr>
                    <td align="center">{{$item['id']}}</td>
                    <td align="center">{{$item['wx_open_id']}}</td>
                    <td align="center">{{$item['name']}}</td>
                    <td align="center">{{config('admin.user.gender')[$item['gender']]}}</td>
                    <td align="center">{{$item['mobile']}}</td>
                    <td align="center">{{$item['email']}}</td>
                    <td align="center">{{$item['birthday']}}</td>
                    <td align="center">{{$item['created_at']}}</td>
                    <td align="center">{{$item['subscribe_time']}}</td>
                    <td align="center">{{$item['cancel_subscribe_time']}}</td>
                </tr>
                @endforeach
            </table>
            @include('admin.layouts.page')
        </div>
    </div>
@stop